     <div class="mainsu">
          <div class="submain-s">
          <?php foreach ($this->producttypes as $productfrontend) : ?>
            <div class="submain">
            <a class="hzed" target="_blank" href="<?php
						    $str = $productfrontend['NAME_PR'];
					      	$str = preg_replace("/(à|á|ạ|ả|ã|â|ầ|ấ|ậ|ẩ|ẫ|ă|ằ|ắ|ặ|ẳ|ẵ)/", 'a', $str);
							$str = preg_replace("/(è|é|ẹ|ẻ|ẽ|ê|ề|ế|ệ|ể|ễ)/", 'e', $str);
							$str = preg_replace("/(ì|í|ị|ỉ|ĩ)/", 'i', $str);
							$str = preg_replace("/(ò|ó|ọ|ỏ|õ|ô|ồ|ố|ộ|ổ|ỗ|ơ|ờ|ớ|ợ|ở|ỡ)/", 'o', $str);
							$str = preg_replace("/(ù|ú|ụ|ủ|ũ|ư|ừ|ứ|ự|ử|ữ)/", 'u', $str);
							$str = preg_replace("/(ỳ|ý|ỵ|ỷ|ỹ)/", 'y', $str);
							$str = preg_replace("/(đ)/", 'd', $str);
							$str = preg_replace("/(À|Á|Ạ|Ả|Ã|Â|Ầ|Ấ|Ậ|Ẩ|Ẫ|Ă|Ằ|Ắ|Ặ|Ẳ|Ẵ)/", 'A', $str);
							$str = preg_replace("/(È|É|Ẹ|Ẻ|Ẽ|Ê|Ề|Ế|Ệ|Ể|Ễ)/", 'E', $str);
							$str = preg_replace("/(Ì|Í|Ị|Ỉ|Ĩ)/", 'I', $str);
							$str = preg_replace("/(Ò|Ó|Ọ|Ỏ|Õ|Ô|Ồ|Ố|Ộ|Ổ|Ỗ|Ơ|Ờ|Ớ|Ợ|Ở|Ỡ)/", 'O', $str);
							$str = preg_replace("/(Ù|Ú|Ụ|Ủ|Ũ|Ư|Ừ|Ứ|Ự|Ử|Ữ)/", 'U', $str);
							$str = preg_replace("/(Ỳ|Ý|Ỵ|Ỷ|Ỹ)/", 'Y', $str);
							$str = preg_replace("/(Đ)/", 'D', $str);
							
					        $str = strtolower(preg_replace(array('/[^a-zA-Z0-9 -]/', '/[ -]+/', '/^-|-$/'),
                             array('', '-', ''), $str));
								      
					      echo  $this->url('frontend/default',array('action'=>'video', 'id' => $productfrontend['ID_PR'])).'-'.$str.'.html';
					      ?>">
              <div class="imgvideo">
                <img class="img-thumbnail lazy" data-original="<?php echo '/timthumb/696x340/'.$this->escapeHtml($productfrontend['LINKIMG']);?>" alt="<?php echo $productfrontend['NAME_PR']?>" width="696" height="340">
                <noscript><img class="img-thumbnail" src="<?php echo '/timthumb/696x340/'.$this->escapeHtml($productfrontend['LINKIMG']);?>" alt="<?php echo $productfrontend['NAME_PR']?>" width="696" height="340"></noscript>
              </div>
              <div class="like">
                  <i class="fa fa-heart"></i>
                  <span class="numberlike">18</span>
              </div>
              </a> 
              <div class="titlevideos">
                   <div class="subtitlevd">
                   <a target="_blank" href="<?php
						    $str = $productfrontend['NAME_PR'];
					      	$str = preg_replace("/(à|á|ạ|ả|ã|â|ầ|ấ|ậ|ẩ|ẫ|ă|ằ|ắ|ặ|ẳ|ẵ)/", 'a', $str);
							$str = preg_replace("/(è|é|ẹ|ẻ|ẽ|ê|ề|ế|ệ|ể|ễ)/", 'e', $str);
							$str = preg_replace("/(ì|í|ị|ỉ|ĩ)/", 'i', $str);
							$str = preg_replace("/(ò|ó|ọ|ỏ|õ|ô|ồ|ố|ộ|ổ|ỗ|ơ|ờ|ớ|ợ|ở|ỡ)/", 'o', $str);
							$str = preg_replace("/(ù|ú|ụ|ủ|ũ|ư|ừ|ứ|ự|ử|ữ)/", 'u', $str);
							$str = preg_replace("/(ỳ|ý|ỵ|ỷ|ỹ)/", 'y', $str);
							$str = preg_replace("/(đ)/", 'd', $str);
							$str = preg_replace("/(À|Á|Ạ|Ả|Ã|Â|Ầ|Ấ|Ậ|Ẩ|Ẫ|Ă|Ằ|Ắ|Ặ|Ẳ|Ẵ)/", 'A', $str);
							$str = preg_replace("/(È|É|Ẹ|Ẻ|Ẽ|Ê|Ề|Ế|Ệ|Ể|Ễ)/", 'E', $str);
							$str = preg_replace("/(Ì|Í|Ị|Ỉ|Ĩ)/", 'I', $str);
							$str = preg_replace("/(Ò|Ó|Ọ|Ỏ|Õ|Ô|Ồ|Ố|Ộ|Ổ|Ỗ|Ơ|Ờ|Ớ|Ợ|Ở|Ỡ)/", 'O', $str);
							$str = preg_replace("/(Ù|Ú|Ụ|Ủ|Ũ|Ư|Ừ|Ứ|Ự|Ử|Ữ)/", 'U', $str);
							$str = preg_replace("/(Ỳ|Ý|Ỵ|Ỷ|Ỹ)/", 'Y', $str);
							$str = preg_replace("/(Đ)/", 'D', $str);
							
					        $str = strtolower(preg_replace(array('/[^a-zA-Z0-9 -]/', '/[ -]+/', '/^-|-$/'),
                             array('', '-', ''), $str));
								      
					      echo  $this->url('frontend/default',array('action'=>'video', 'id' => $productfrontend['ID_PR'])).'-'.$str.'.html';
					      ?>">
                   <?php echo $productfrontend['NAME_PR']?>
                   </a>
                   </div>
                   
                   <div class="absbub">
                     <ul>
                        <li>
                            <i class="fa fa-user"></i>
                             <span class="userthepost"><?php echo $productfrontend['AUTHOR']?></span>
                        </li>
                        <li>
                            <i class="fa fa-calendar"></i>
                            <span class="datevideo"><?php echo $productfrontend['DATE_PR']?></span>
                        </li>
                        <li>
                          <i class="fa fa-eye"></i>
                          <span class="viewvideo"><?php echo $productfrontend['VIEW']?></span>
                        </li>
                        <li>
                           <i class="fa fa-comments"></i>
                           <span class="comment">12</span>
                        </li>
                     </ul>  
                   </div>
           <div class="fb-like" data-href="<?php
						    $str = $productfrontend['NAME_PR'];
					      	$str = preg_replace("/(à|á|ạ|ả|ã|â|ầ|ấ|ậ|ẩ|ẫ|ă|ằ|ắ|ặ|ẳ|ẵ)/", 'a', $str);
							$str = preg_replace("/(è|é|ẹ|ẻ|ẽ|ê|ề|ế|ệ|ể|ễ)/", 'e', $str);
							$str = preg_replace("/(ì|í|ị|ỉ|ĩ)/", 'i', $str);
							$str = preg_replace("/(ò|ó|ọ|ỏ|õ|ô|ồ|ố|ộ|ổ|ỗ|ơ|ờ|ớ|ợ|ở|ỡ)/", 'o', $str);
							$str = preg_replace("/(ù|ú|ụ|ủ|ũ|ư|ừ|ứ|ự|ử|ữ)/", 'u', $str);
							$str = preg_replace("/(ỳ|ý|ỵ|ỷ|ỹ)/", 'y', $str);
							$str = preg_replace("/(đ)/", 'd', $str);
							$str = preg_replace("/(À|Á|Ạ|Ả|Ã|Â|Ầ|Ấ|Ậ|Ẩ|Ẫ|Ă|Ằ|Ắ|Ặ|Ẳ|Ẵ)/", 'A', $str);
							$str = preg_replace("/(È|É|Ẹ|Ẻ|Ẽ|Ê|Ề|Ế|Ệ|Ể|Ễ)/", 'E', $str);
							$str = preg_replace("/(Ì|Í|Ị|Ỉ|Ĩ)/", 'I', $str);
							$str = preg_replace("/(Ò|Ó|Ọ|Ỏ|Õ|Ô|Ồ|Ố|Ộ|Ổ|Ỗ|Ơ|Ờ|Ớ|Ợ|Ở|Ỡ)/", 'O', $str);
							$str = preg_replace("/(Ù|Ú|Ụ|Ủ|Ũ|Ư|Ừ|Ứ|Ự|Ử|Ữ)/", 'U', $str);
							$str = preg_replace("/(Ỳ|Ý|Ỵ|Ỷ|Ỹ)/", 'Y', $str);
							$str = preg_replace("/(Đ)/", 'D', $str);
							
					        $str = strtolower(preg_replace(array('/[^a-zA-Z0-9 -]/', '/[ -]+/', '/^-|-$/'),
                             array('', '-', ''), $str));
								      
					      echo  $this->url('frontend/default',array('action'=>'video', 'id' => $productfrontend['ID_PR'])).'-'.$str.'.html';
					      ?>" data-layout="standard" data-action="like" data-show-faces="false" data-share="true"></div>
                   
              </div>            
                         
              <?php if($productfrontend['ID_PRT'] == 2): ?>
                 <span class="icon_video_1"><i class="fa fa-youtube-play"></i>
                 </span>
                 <?php endif; ?>
                 
             </div> 
             <?php endforeach;?>
            </div> 
            <div class="mostviews">
                <h1><?php echo $this->escapeHtml($this->hot); ?> Hot</h1>
                <?php foreach ($this->listproducthot as $productfrontend) : ?>
                <div class="submostview">
                  <a target="_blank" href="<?php
						    $str = $productfrontend['NAME_PR'];
					      	$str = preg_replace("/(à|á|ạ|ả|ã|â|ầ|ấ|ậ|ẩ|ẫ|ă|ằ|ắ|ặ|ẳ|ẵ)/", 'a', $str);
							$str = preg_replace("/(è|é|ẹ|ẻ|ẽ|ê|ề|ế|ệ|ể|ễ)/", 'e', $str);
							$str = preg_replace("/(ì|í|ị|ỉ|ĩ)/", 'i', $str);
							$str = preg_replace("/(ò|ó|ọ|ỏ|õ|ô|ồ|ố|ộ|ổ|ỗ|ơ|ờ|ớ|ợ|ở|ỡ)/", 'o', $str);
							$str = preg_replace("/(ù|ú|ụ|ủ|ũ|ư|ừ|ứ|ự|ử|ữ)/", 'u', $str);
							$str = preg_replace("/(ỳ|ý|ỵ|ỷ|ỹ)/", 'y', $str);
							$str = preg_replace("/(đ)/", 'd', $str);
							$str = preg_replace("/(À|Á|Ạ|Ả|Ã|Â|Ầ|Ấ|Ậ|Ẩ|Ẫ|Ă|Ằ|Ắ|Ặ|Ẳ|Ẵ)/", 'A', $str);
							$str = preg_replace("/(È|É|Ẹ|Ẻ|Ẽ|Ê|Ề|Ế|Ệ|Ể|Ễ)/", 'E', $str);
							$str = preg_replace("/(Ì|Í|Ị|Ỉ|Ĩ)/", 'I', $str);
							$str = preg_replace("/(Ò|Ó|Ọ|Ỏ|Õ|Ô|Ồ|Ố|Ộ|Ổ|Ỗ|Ơ|Ờ|Ớ|Ợ|Ở|Ỡ)/", 'O', $str);
							$str = preg_replace("/(Ù|Ú|Ụ|Ủ|Ũ|Ư|Ừ|Ứ|Ự|Ử|Ữ)/", 'U', $str);
							$str = preg_replace("/(Ỳ|Ý|Ỵ|Ỷ|Ỹ)/", 'Y', $str);
							$str = preg_replace("/(Đ)/", 'D', $str);
							
					        $str = strtolower(preg_replace(array('/[^a-zA-Z0-9 -]/', '/[ -]+/', '/^-|-$/'),
                             array('', '-', ''), $str));
								      
					      echo  $this->url('frontend/default',array('action'=>'video', 'id' => $productfrontend['ID_PR'])).'-'.$str.'.html';
					      ?>">
                     <div class="imgview">
                          <img class="img-thumbnail" src="<?php echo '/timthumb/126x83/'.$this->escapeHtml($productfrontend['LINKIMG']);?>" alt="<?php echo $productfrontend['NAME_PR']?>" width="126" height="83" />
                     </div>
                     <div class="contentview">
                        <div class="titleview"><?php echo $productfrontend['NAME_PR']?></div>
                        <div class="dateview"><?php echo $productfrontend['DATE_PR']?></div>
                     </div>
                     <?php if($productfrontend['ID_PRT'] == 2):?>
                     <span class="icon_video_2"><i class="fa fa-youtube-play"></i>
                     </span>
                     <?php endif;?>
                     </a>
                </div>
                <?php endforeach;?>
            </div>
           
        <div class="mostviews">
		  <iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fvisiay&amp;width&amp;height=290&amp;colorscheme=light&amp;show_faces=true&amp;header=true&amp;stream=false&amp;show_border=true" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width: 278px; height:290px;" allowTransparency="true"></iframe>            
		 </div>
</div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/vi_VN/sdk.js#xfbml=1&version=v2.0";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>